class AddItemReivewsReplyCountAndInterest < ActiveRecord::Migration
  def self.up
    add_column  :item_reviews,  :reply_count, :integer, :default => 0, :after => 'down_total'
    add_column  :item_reviews,  :interest,    :integer, :limit   => 1, :default => 0, :after => 'reply_count'
  end

  def self.down
    remove_column :item_reviews, :reply_count
    remove_column :item_reviews, :interest
  end
end
